﻿#include "TurnTableDecode_TurnTable_Connect.h"

#include "TurnTableCodec.h"

TurnTableDecode_TurnTable_Connect::TurnTableDecode_TurnTable_Connect(TurnTableCodec* turnTableCodec)
{
  this->turnTableCodec=turnTableCodec;
}

TurnTableDecode_TurnTable_Connect::~TurnTableDecode_TurnTable_Connect()
{

}

void TurnTableDecode_TurnTable_Connect::decode(char* const data,uint deviceId)
{
  (void)data;
  logSaver->saveLog(QStringLiteral("TurnTableCodec,turnTable connected"),LogSaver::Information);
  emit turnTableCodec->signal_turnTableConnectionState(TurnTableCodec::State_Connected,deviceId);
}
